#ifndef TOY_PERSISTENCE_H
#define TOY_PERSISTENCE_H

#include <vector>
#include "toy.h"

class ToyPersistence {
private:
    std::string filename;

public:
    ToyPersistence(const std::string& filename);
    std::vector<Toy> loadToys();
    void saveToys(const std::vector<Toy>& toys);
};

#endif // TOY_PERSISTENCE_H    